package com.ruoyi.my.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信用卡对象 gr_xyk
 *
 * @author liuxusheng
 * @date 2022-01-05
 */
public class GrXyk extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 主键 */
    private Integer id;

    /** 信用卡名称 */
            @Excel(name = "信用卡名称")
    private String cardName;

    /** 信用卡行名 */
            @Excel(name = "信用卡行名")
    private String cardHang;

    /** 总额度 */
            @Excel(name = "总额度")
    private BigDecimal totalNum;

    /** 可用额度 */
            @Excel(name = "可用额度")
    private BigDecimal leaveNum;

    /** 年费政策 */
            @Excel(name = "年费政策")
    private String yearFee;

    /** 上一次提额时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "上一次提额时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpTime;

    /** 提额时间间隔 */
            @Excel(name = "提额时间间隔")
    private Integer upTimeGap;

    public void setId(Integer id)
            {
            this.id = id;
            }

    public Integer getId()
            {
            return id;
            }
    public void setCardName(String cardName)
            {
            this.cardName = cardName;
            }

    public String getCardName()
            {
            return cardName;
            }
    public void setCardHang(String cardHang)
            {
            this.cardHang = cardHang;
            }

    public String getCardHang()
            {
            return cardHang;
            }
    public void setTotalNum(BigDecimal totalNum)
            {
            this.totalNum = totalNum;
            }

    public BigDecimal getTotalNum()
            {
            return totalNum;
            }
    public void setLeaveNum(BigDecimal leaveNum)
            {
            this.leaveNum = leaveNum;
            }

    public BigDecimal getLeaveNum()
            {
            return leaveNum;
            }
    public void setYearFee(String yearFee)
            {
            this.yearFee = yearFee;
            }

    public String getYearFee()
            {
            return yearFee;
            }
    public void setLastUpTime(Date lastUpTime)
            {
            this.lastUpTime = lastUpTime;
            }

    public Date getLastUpTime()
            {
            return lastUpTime;
            }
    public void setUpTimeGap(Integer upTimeGap)
            {
            this.upTimeGap = upTimeGap;
            }

    public Integer getUpTimeGap()
            {
            return upTimeGap;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("cardName",getCardName())
            .append("cardHang",getCardHang())
            .append("totalNum",getTotalNum())
            .append("leaveNum",getLeaveNum())
            .append("yearFee",getYearFee())
            .append("lastUpTime",getLastUpTime())
            .append("upTimeGap",getUpTimeGap())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
        .toString();
        }
        }
